package ooday03test;

public class Lecturer extends Person implements OverQuertys,Peixun,Wart{
    //

    public Lecturer() {
    }

    public Lecturer(String name, int age, String salary) {
        super(name, age, salary);
    }
    //继承父类方法
    //overriding
    public void overWork(){
        System.out.println("完成Lecturer的工作");
    }
    //实现接口方法
    public void tooverQuerty(){
        System.out.println("解决企业问题");
    }
    public void study(){
        System.out.println("完成培训");
    }
    public void wriet(){
        System.out.println("写一些文档");
    }
}
